package com.ruoyi.procurementmanagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品标签-商品关联对象 erp_goods_label_relation
 *
 * @author ruoyi
 * @date 2025-03-31
 */
public class ErpGoodsLabelRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long  id;

    /** 标签id */
    @Excel(name = "标签id")
    private Long  labelId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long  goodsId;

    public void setId(Long  id)
    {
        this.id = id;
    }

    public Long  getId()
    {
        return id;
    }
    public void setLabelId(Long  labelId)
    {
        this.labelId = labelId;
    }

    public Long  getLabelId()
    {
        return labelId;
    }
    public void setGoodsId(Long  goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long  getGoodsId()
    {
        return goodsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("labelId", getLabelId())
            .append("goodsId", getGoodsId())
            .toString();
    }
}
